Testvid Using Adaptive Thresholding